﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Pwd_Change.aspx.cs" Inherits="EcSalseManage.SysSetting.Pwd_Change" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
    <title>项目销售管理系统-修改密码</title>
        <link href="../css/skin.css" type="text/css" rel="stylesheet">
        	<script language=javascript>
		function DataCheck()
		{
		    if(!window.confirm("是否确定提交？"))
			{
				return false;
			}		
			if(document.all("txtNew1").value.length==0)
			{
				alert("请输入新密码！");
				return false;
			}
			if(document.all("txtNew1").value.length<6)
			{
				alert("新密码必须6位以上！");
				return false;
			}		
			if(document.all("txtNew1").value!=document.all("txtNew2").value)
			{
				alert("新密码确认错误！");
				return false;
			}	
							
			return true;
		}
		</script>
</head>
<body>
    <form id="form1" runat="server">
    <div>
        <table width="100%" border="0" cellpadding="0" cellspacing="0">
  <tr>
    <td width="17" valign="top" background="../images/mail_leftbg.gif"><img src="../images/left-top-right.gif" width="17" height="29" /></td>
    <td valign="top" background="../images/content-bg.gif">
                 <table width="100%" height="31" border="0" cellpadding="0" cellspacing="0" class="left_topbg"
                    id="table2">
                    <tr>
                        <td height="31">
                            <div class="titlebt">
                                修改密码</div>
                        </td>
                    </tr>
                </table>
     </td>
    <td width="16" valign="top" background="../images/mail_rightbg.gif"><img src="../images/nav-right-bg.gif" width="16" height="29" /></td>
  </tr>
  <tr>
    <td valign="middle" background="../images/mail_leftbg.gif">&nbsp;</td>
    <td valign="top" bgcolor="#F7F8F9">
    <table width="98%" border="0" align="center" cellpadding="0" cellspacing="0">
    
      <tr>
        <td colspan="4" valign="top">
        
        <center>
            <TABLE cellSpacing="0" style=" height:400px;" cellPadding="0" border="0">
								<TR>
									<TD class="td" style="width: 291px">
										<TABLE cellSpacing="1" cellPadding="0" bgColor="#b0b0b0">
											<TR>
												<TD>
													<TABLE cellSpacing="0" cellPadding="10" bgColor="#ffffff">
														<TR>
															<TD >
                                                                <table border="0" cellpadding="2" cellspacing="0">
                                                                    <tr>
                                                                        <td class="ttTable" nowrap="nowrap" align="left">
                                                                            用户名</td>
                                                                        <td class="td" nowrap="nowrap" align="left">
                                                                            <asp:Label ID="lblName" runat="server"></asp:Label>&nbsp;</td>
                                                                    </tr>
                                                                    <tr>
                                                                        <td align="left" class="ttTable" nowrap="nowrap">
                                                                            旧密码<font style="color: #ff0000; font-weight: normal;">*</font></td>
                                                                        <td align="left" class="td" nowrap="nowrap">
                                                                            <asp:TextBox ID="txtOld" runat="server" CssClass="edline " MaxLength="20" Width="184px" TextMode="Password"></asp:TextBox></td>
                                                                    </tr>
                                                                    <tr>
                                                                        <td align="left" class="ttTable" nowrap="nowrap">
                                                                            新密码<font style="color: #ff0000; font-weight: normal;">*</font></td>
                                                                        <td align="left" class="td" nowrap="nowrap">
                                                                            <asp:TextBox ID="txtNew1" runat="server" CssClass="edline " MaxLength="20" Width="184px" TextMode="Password"></asp:TextBox></td>
                                                                    </tr>
                                                                    <tr>
                                                                        <td align="left" class="ttTable" nowrap="nowrap">
                                                                            新密码确认<font style="color: #ff0000; font-weight: normal;">*</font></td>
                                                                        <td align="left" class="td" nowrap="nowrap">
                                                                            <asp:TextBox ID="txtNew2" runat="server" CssClass="edline " MaxLength="20" Width="184px" TextMode="Password"></asp:TextBox></td>
                                                                    </tr>
                                                                    <tr>
                                                                        <td>
                                                                            &nbsp;
                                                                        </td>
                                                                        <td>
                                                                            <asp:LinkButton id="lbtnSave" runat="server" OnClick="lbtnSave_Click" OnClientClick="return DataCheck()"  CssClass="linkbutton"><img src="../images/Login_but.gif" style=" border:0;" /></asp:LinkButton>
                                                                                &nbsp;&nbsp;
                                                                            <a onclick="javascript:form1.reset();" ><img src="../images/Login_Reset_back.gif" style="border:0px;" /></a>
                                                                        </td>
                                                                    </tr>
                                                                    
                                                                </table>
															</TD>
														</TR>
													</TABLE>
												</TD>
											</TR>
										</TABLE>
									</TD>
								</TR>
							</TABLE>
							</center>
							
							   </td>
    
      </tr>
      <tr>
        <td height="40" colspan="4"><table width="100%" height="1" border="0" cellpadding="0" cellspacing="0" bgcolor="#CCCCCC">
          <tr>
            <td></td>
          </tr>
        </table></td>
      </tr>
      <tr>
        <td width="2%">&nbsp;</td>
        <td width="51%" class="left_txt"><img src="../images/icon-mail2.gif" width="16" height="11"> 
            客户服务邮箱：servers@centaline.com<br>
              <img src="../images/icon-phone.gif" width="17" height="14"> 
            官方网站：http://www.centaline.com.cn/</td>
        <td>&nbsp;</td>
        <td>&nbsp;</td>
      </tr>
    </table></td>
    <td background="../images/mail_rightbg.gif">&nbsp;</td>
  </tr>
  <tr>
    <td valign="bottom" background="..../images/mail_leftbg.gif"><img src="../images/buttom_left2.gif" width="17" height="17" /></td>
    <td background="../images/buttom_bgs.gif"><img src="../images/buttom_bgs.gif" width="17" height="17"></td>
    <td valign="bottom" background="../images/mail_rightbg.gif"><img src="../images/buttom_right2.gif" width="16" height="17" /></td>
  </tr>
</table>
    </div>
    </form>
</body>
</html>
